
// #ifdef APP-PLUS
	const APP_ENV = "prod"
// #endif
// #ifdef H5
	const APP_ENV = "dev"
// #endif

export const appConfig = {
	APP_ENV,
	wxAppId: '',
	tokenKey: 'user-access-token',
	// 申请入驻
	settleInKey: "apply-settle-in",
	pushCidKey: "push-message-cid",
	// 工作台
	stagingKey: "staging-data-key",
	stagingExpireKey: "staging-expire-key",
	// 送返修
	repairKey: "repair-data-key",
	repairExpireKey: "repair-expire-key",
	// 百度地图AK
	BMap_AK: "vfrkcGuCNr5fuYkQGnqv3qTpR5yybI9Y",
	UNI_APP_ID: "__UNI__565899D",
	// token有效时间
	expireTime: 3 * 24 * 60 * 60 * 1000,
	listDataExpireTime: 1 * 60 * 1000,
	expireKey: "user-token-expire",
	imgCDN: "https://img.nantianit.com",
	BASE_URL: (() => {
		let url = `/apiv2/`
		if(APP_ENV === 'test') {
			url = `/apiv2/`
		}else if(APP_ENV === 'prod'){
			url = 'https://m.nantianit.com/apiv2/'
		}
		return url;
	})()
}